﻿Public Class RegexCaptureViewModel
    Inherits RegexViewModelBase

#Region "Events"
    ' Insert Event Declarations Here
#End Region

#Region "Properties"
#Region "Constants"
    ' Insert Constant Declarations Here
#End Region

    Private _capture As Capture
    Public Property Capture As Capture
        Get
            Return _capture
        End Get
        Private Set(value As Capture)
            _capture = value
        End Set
    End Property

    Public Overrides ReadOnly Property Index As Integer
        Get
            Return Me.Capture.Index
        End Get
    End Property

    Public Overrides ReadOnly Property Length As Integer
        Get
            Return Me.Capture.Length
        End Get
    End Property
#End Region

#Region "Constructors"
    Public Sub New(capture As Capture, regex As Regex, viewNavigator As IViewNavigator)
        MyBase.New(regex, viewNavigator)
        Me.Capture = capture
    End Sub
#End Region

#Region "Methods"
    ' Insert Method (Function/Sub) Declarations Here

#Region "Event Raiser Methods"
    ' Insert Method Declarations which Raise an Event Here
#End Region

#Region "Event Handlers"
    ' Insert Method Declarations which Handle an Event Here
#End Region
#End Region

End Class
